blob: c3bc50d3be6787bf29f8949d01fcc9896949fbe6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
import config from "virtual:starlight/user-config";
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
import Share from "../../components/Share.tsx";
export const prerender = false;
// TODO: Replace with API URL from environment
const { id } = Astro.params;
console.log(Astro.url.pathname);
//console.log(config);
---
<StarlightPage
hasSidebar={false}
frontmatter={{
title: "Share",
pageFind: false,
template: "splash",
tableOfContents: false,
}}
>
<Share id={id} api="https://api.dev.opencode.ai" client:only="solid" />
</StarlightPage>
<style is:global>
body > .page > .main-frame .main-pane > main > .content-panel:first-of-type {
display: none;
}
body > .page > .main-frame .main-pane > main > .content-panel + .content-panel {
border-top: none;
}
</style>
|